<?php defined('IN_ADMIN') or exit('No permission resources.');?>
<?php include $this->admin_tpl('header', 'admin');?>
<script language="javascript" type="text/javascript" src="<?php echo JS_PATH?>member_common.js"></script>
<script language="javascript" type="text/javascript" src="<?php echo JS_PATH?>formvalidator.js" charset="UTF-8"></script>
<script language="javascript" type="text/javascript" src="<?php echo JS_PATH?>formvalidatorregex.js" charset="UTF-8"></script>

<div class="pad-10">
<div class="common-form">
<form name="myform" action="<?php echo U('reward_add') ?>" method="post" id="myform">
	<input type="hidden" name="info[userid]" id="userid" value="<?php echo $info['userid']?>"></input>
	<input type="hidden" name="info[coin]" value="<?php echo $info['u_coin']?>"></input>
	<input type="hidden" name="info[bean]" value="<?php echo $info['u_bean']?>"></input>
	
<fieldset>
	<legend><?php echo L('basic_configuration')?></legend>
	<table width="100%" class="table_form">
		
		<tr>
			<td>奖励：</td> 
			<td><input type="text" name="info[u_coin]" id="u_coin" class="input-text">个U币</input></td>
			<td><input type="text" name="info[u_bean]" id="u_bean" class="input-text">个U豆</input></td>
		</tr>
		
		<tr>
			<td>奖励原因：</td> 
			<td><textarea  name="info[reason]" id="reason" class=""></textarea></td>
		</tr>
		
		
		
	</table>
</fieldset>

    <div class="bk15"></div>
    <input name="dosubmit" id="dosubmit" type="submit" value="<?php echo L('submit')?>" class="dialog">
</form>
</div>
</div>
</body>
<script language="JavaScript">
<!--
	function changemodel(modelid) {
		redirect('?m=member&c=member&a=edit&userid=<?php echo $memberinfo[userid]?>&modelid='+modelid+'&pc_hash=<?php echo $_SESSION['pc_hash']?>');
	}
//-->
</script>
</html>